<template>
  <Buy :cinemaList="cinemaList"></Buy>
</template>

<script>
import Buy from "@/components/Buy.vue"
import axios from '@/api/instance';
export default {
    name:"Hot",
    data(){
      return {
        cinemaList:[]
      }
    },
    mounted(){
      axios.get('/hot.json').then((res) => {
        console.log("我的",res);
        this.cinemaList = res.data;
      });
    },
    components:{
      Buy,
    }
}
</script>

<style scoped>

</style>